package com.tanhua.server.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.dubbo.api.UserInfoApi;
import com.tanhua.dubbo.pojo.UserInfo;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @DubboReference(version = "1.0.0")
    private UserInfoApi userInfoApi;

    public boolean updateUserInfoByUserId(UserInfo userInfo) {
        return this.userInfoApi.updateUserInfoByUserId(userInfo);
    }
}
